#include "Request.h"

Request::Request()
{
}

Request::Request(string ip, int port,map<string,string> data):Request(ip,port,data,0)
{
}

Request::Request(string ip, int port,map<string,string> data, int contentType)
{
    this->data=data;
    this->ip=ip;
    this->port=port;
    this->contentType=contentType;
}

Request::~Request()
{
}

map<string,string> Request::getData()
{
    return this->data;
}

int Request::getContentType()
{
    return this->contentType;
}

string Request::getIp()
{
    return this->ip;
}

int Request::getPort()
{
    return this->port;
}
